<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>查看商家优惠信息</title>
<link href="${rc.getContextPath()}/resources/css/common.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
var base = '${base}';
var storeId='${(discount.storeId)!}';
function goBackToList() {
	var url = base+"/discount/admin/list.html?storeId="+storeId;
	location.href = url;
};
</script>
</head>

<body>
	<div class="path">
		<b>查看商家优惠信息</b>
	</div>
	<form action="" method="post" id="tableForm" name="tableForm" enctype="multipart/form-data">
		<table class="input tabContent">
			<tbody>
				<tr>
					<th><span class="requiredField">*</span>标题:</th>
					<td>
						<input type="text" name="title" value="${(discount.title)!}"/>
					</td>
				</tr>
				<tr>
					<th>此处显示图片:</th>
					<td>
						<img src="${base!}${discount.imgUrl!}" alt="" id="discountImg"  width="200" height="200" />
					</td>
				</tr>				
				<tr>
					<th>优惠信息:</th>
					<td>
					${(discount.description)!}
					</td>
				</tr>				
			</tbody>
		</table>
		<table class="input">
			<colgroup>
				<col width="15%" />
				<col width="35%" />
				<col width="15%" />
				<col width="35%" />
			</colgroup>
			<tr>
				<td></td>
				<td colspan="3">
					<input type="button" class="button" value="返回" onclick="goBackToList()" />
				</td>
			</tr>
		</table>
	</form>
</body>
</html>